// 2013-7-31下午01:33:26  net.betou.trade.role.search.setting.AgentAdminFinderConfig.java

package net.betou.trade.role.setting;

import net.betou.core.entity.ConfigLogin;
import net.betou.trade.entity.main.AgentAndAdmins;

/**
 * 
 * @author 叶装装
 */
public class AgentAdminFinderConfig extends FinderConfig{
	
	public AgentAdminFinderConfig( ){}
	
	public AgentAdminFinderConfig( AgentAndAdmins admin ){
		super( admin, ConfigLogin.CONFIG_ADMIN );
	}
	
	@Override
	protected boolean findSelf( ) {
		return false;
	}

	@Override
	protected String getBegin( ) {
		return "id in(";
	}

	@Override
	protected String getEnd( ) {
		return " ) and is_system=0 and just_admin=1";
	}

	
}
